﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="User_View.aspx.cs" Inherits="System_User_View" MasterPageFile="../SelectMasterPage.master" %>
<%@ Import Namespace="DAL" %>
<%@ Import Namespace="Common" %>




<%@ Register src="System_Left.ascx" tagname="System_Left" tagprefix="uc1" %>




<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <table cellpadding="0" cellspacing="2" width="100%" border="0">
	<tr>
		<td width="100%" valign="top">
		<table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
			<tr>
		        <td class="leftTd"  valign="top">
		        <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
		        	<tr>
		            	<td class="titleStyle">查看用户</td>
		            </tr>
		        </table>
		        <br />
		        <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                    <tr>
	                        <td class="leftContent">用户类型：</td>
	                        <td class="RightContent"><%= user == null  ? "" : Account.GetAccountType(user.UserType) %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">会员名：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.Account%></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">Email：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.Email%></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">公司名称：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.CompanyName%></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">公司简称：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.ShortCompanyName%></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">电话：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.Tel%></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">电话：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.Tel2%></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">传真：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.FAX%></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">联系人姓名：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.RealName%></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">手机：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.Mob%></td>
	                    </tr>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">联系人职务：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.Zhiwu%></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">客户类型：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.CustomerType %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">服务单系数：</td>
	                        <td class="RightContent"><%= user == null ? "" : (user.XiShu.HasValue?user.XiShu.ToString():"") %></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">合同状态：</td>
	                        <td class="RightContent"><a class="thickbox" href="../Customer/Contract_View.aspx?ContractNO=<%= user.ContractNO %>&KeepThis=true&TB_iframe=true&height=450&width=650"><%= user == null ? "" : user.ContractNO %></a></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">公司地址：</td>
	                        <td class="RightContent"><%= user == null ? "" : user.Address%></td>
	                    </tr>
	                </table>
				</td>
		    </tr>
		</table>
        </td>
    </tr>
</table>
</asp:Content>

